package application.Proxies
{
	import VOs.StreamVO;
	import org.gof.application.BaseReadProxy;
	import org.gof.application.BaseWriteProxy;
	
	public class StreamWritePxy extends BaseWriteProxy
	{
		private var streamVO:StreamVO;
		
		public function StreamWritePxy()
		{
			streamVO = new StreamVO();
			super(streamVO);
		}
		
		public function get isPlayingNotPaused():Boolean
		{
			return streamVO.isPlayingNotPaused;
		}
		
		public function set isPlayingNotPaused(b:Boolean):void
		{
			streamVO.isPlayingNotPaused = b;
			subscribersOutdated = true;
		}
		
		public function get isStarted():Boolean
		{
			return streamVO.isStarted;
		}
		
		public function set isStarted(b:Boolean):void
		{
			streamVO.isStarted = b;
			subscribersOutdated = true;
		}
	}
}